package cn.dceast.mapper;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * Created by root on 16-11-21.
 */
@Mapper
public interface MessageMapper {

    /**
     * 新增留言
     * @param paramMap
     * @return
     */
    public int addMsg(Map paramMap);

    /**
     * 获取留言列表
     * @param paramMap
     * @return
     */
    public List<Map<String, Object>> getMsgListByCondition(Map paramMap);

    /**
     * 获取留言详情
     * @param paramMap
     * @return
     */
    public Map<String, Object> getMsgInfoByCondition(Map paramMap);
}
